package com.example.schoolenterprisealliance.bean;

import com.chad.library.adapter.base.entity.MultiItemEntity;

import java.util.List;

//联盟成员
public class Admin implements MultiItemEntity {
    public static final int LEFT=0;
    public static final int RIGHT=1;
    public int itemtype;
    /**
     * total : 5
     * code : 0
     * pages : 1
     * data : [{"certificate":"http://101.132.69.205:8080/images/cef/null.jpg","context":"方业昌于2010年创办慧科集团。曾供职于IBM（中国），负责诺基亚、摩托罗拉及索尼爱立信等全球手机厂商的大客户关系，并曾在北京航空航天大学软件学院任职时成功运作了国内第一个中美联合办学项目，具有多年产教从业与管理经验。目前在湖畔大学第三期进行学习。毕业于美国佛罗里达国际大学（州立）电子工程系，获得美国佛罗里达国际大学（州立）电子工程系博士学位。","gride":"管理员","id":"188f6f6796e5c418c4f6996b9b15b205","joinTime":1572883200000,"logoUrl":"http://101.132.69.205:8080/images/cef/fcf392b97e3a43e7a496e31a8a440566.jpg","password":"f8879b0f7729ec5f1d2e2cc9b3a7edee","position":"慧科集团创始人、董事长","remark":"","uid":"3123213","username":"方业昌"},{"certificate":"http://101.132.69.205:8080/images/cef/545.jpg","context":"","gride":"超级管理员","id":"11111","joinTime":1574415247000,"logoUrl":"http://101.132.69.205:8080/images/cef/902aa1e53cd14641be4c5358f7563b8b.png","password":"f8879b0f7729ec5f1d2e2cc9b3a7edee","position":"终极boss","remark":"","uid":"545","username":"lwen"},{"certificate":"http://101.132.69.205:8080/images/cef/null.jpg","context":"岳喜伟于2010年与方业昌共同创办了慧科集团。创办慧科前，曾多年供职于联想，负责乐Phone核心项目及联想移动大客户服务部门，多次获得联想集团优秀团队管理者以及公司突出贡献奖等荣誉，对渠道建设与大客户管理具有丰富经验，对高校需求与政策具有敏锐洞察力。毕业于北京航空航天大学经济管理学院，获得清华大学经济管理学院工商管理硕士学位。","gride":"管理员","id":"2222","joinTime":1574784000000,"logoUrl":"http://101.132.69.205:8080/images/cef/0c1792926b4c4556b11b85471ee2b261.jpg","password":"zxcv","position":"慧科集团共同创始人、CEO","remark":"321111","uid":"1213","username":"岳喜伟"},{"certificate":"http://101.132.69.205:8080/images/cef/null.jpg","context":"陈滢曾担任IBM中国研究院副院长，受聘担任北京航空航天大学、上海交通大学、西安交通大学、东北大学等十余所大学兼职教授和专业主任。受聘担任三十多所大学双创导师、学术委员会和教学指导委员会顾问。教育部工程教育认证专家，中国软件行业协会(CSIA)专家委员会委员，中国电子学会物联网专家委员会委员。陈滢博士提出产学融合2.0新模式、FAST新工科人才培养矩阵和新商科人才能力SHARP模型等新兴理念。毕业于东南大学，获得东南大学计算机科学与工程系本科及博士学位。","gride":"超级管理员","id":"sfadsfd","joinTime":1576166400000,"logoUrl":"http://101.132.69.205:8080/images/cef/ee21b349990d452fbbf15304e827f220.jpg","password":"","position":"慧科集团合伙人、集团首席战略官、","remark":"","uid":"123","username":"陈滢"},{"context":"顶顶顶顶顶顶顶","gride":"管理员","id":"db23a5e921da2a375e1f4e3c163e7ca3","joinTime":1576771200000,"logoUrl":"","password":"c926bf606ecea987704920f42159e3ea","position":"222","remark":"vv","uid":"191220145213","username":"普通管理员"}]
     */

    private int total;
    private int code;
    private int pages;
    private int itemType;

    public int getItemtype() {
        return itemtype;
    }

    public void setItemtype(int itemtype) {
        this.itemtype = itemtype;
    }

    private List<DataBean> data;

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public int getPages() {
        return pages;
    }

    public void setPages(int pages) {
        this.pages = pages;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    @Override
    public int getItemType() {
        return itemtype==0?LEFT:RIGHT;
    }

    public static class DataBean implements MultiItemEntity{
        /**
         * certificate : http://101.132.69.205:8080/images/cef/null.jpg
         * context : 方业昌于2010年创办慧科集团。曾供职于IBM（中国），负责诺基亚、摩托罗拉及索尼爱立信等全球手机厂商的大客户关系，并曾在北京航空航天大学软件学院任职时成功运作了国内第一个中美联合办学项目，具有多年产教从业与管理经验。目前在湖畔大学第三期进行学习。毕业于美国佛罗里达国际大学（州立）电子工程系，获得美国佛罗里达国际大学（州立）电子工程系博士学位。
         * gride : 管理员
         * id : 188f6f6796e5c418c4f6996b9b15b205
         * joinTime : 1572883200000
         * logoUrl : http://101.132.69.205:8080/images/cef/fcf392b97e3a43e7a496e31a8a440566.jpg
         * password : f8879b0f7729ec5f1d2e2cc9b3a7edee
         * position : 慧科集团创始人、董事长
         * remark :
         * uid : 3123213
         * username : 方业昌
         */
        public static final int LEFT=0;
        public static final int RIGHT=1;
        public int itemtype;
        private String certificate;
        private String context;
        private String gride;
        private String id;
        private long joinTime;
        private String logoUrl;
        private String password;
        private String position;
        private String remark;
        private String uid;
        private String username;

        public String getCertificate() {
            return certificate;
        }

        public void setCertificate(String certificate) {
            this.certificate = certificate;
        }

        public String getContext() {
            return context;
        }

        public void setContext(String context) {
            this.context = context;
        }

        public String getGride() {
            return gride;
        }

        public void setGride(String gride) {
            this.gride = gride;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public long getJoinTime() {
            return joinTime;
        }

        public void setJoinTime(long joinTime) {
            this.joinTime = joinTime;
        }

        public String getLogoUrl() {
            return logoUrl;
        }

        public void setLogoUrl(String logoUrl) {
            this.logoUrl = logoUrl;
        }

        public String getPassword() {
            return password;
        }

        public void setPassword(String password) {
            this.password = password;
        }

        public String getPosition() {
            return position;
        }

        public void setPosition(String position) {
            this.position = position;
        }

        public String getRemark() {
            return remark;
        }

        public void setRemark(String remark) {
            this.remark = remark;
        }

        public String getUid() {
            return uid;
        }



        public void setItemtype(int itemtype) {
            this.itemtype = itemtype;
        }

        public void setUid(String uid) {
            this.uid = uid;
        }

        public String getUsername() {
            return username;
        }

        public void setUsername(String username) {
            this.username = username;
        }

        @Override
        public int getItemType() {
            return itemtype==0?LEFT:RIGHT;
        }

        @Override
        public String toString() {
            return "DataBean{" +
                    "itemtype=" + itemtype +
                    ", certificate='" + certificate + '\'' +
                    ", context='" + context + '\'' +
                    ", gride='" + gride + '\'' +
                    ", id='" + id + '\'' +
                    ", joinTime=" + joinTime +
                    ", logoUrl='" + logoUrl + '\'' +
                    ", password='" + password + '\'' +
                    ", position='" + position + '\'' +
                    ", remark='" + remark + '\'' +
                    ", uid='" + uid + '\'' +
                    ", username='" + username + '\'' +
                    '}';
        }
    }


    @Override
    public String toString() {
        return "Admin{" +
                "itemtype=" + itemtype +
                ", total=" + total +
                ", code=" + code +
                ", pages=" + pages +
                ", data=" + data +
                '}';
    }
}

